package cn.tedu.fresheveryday.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("订单添加dto")
public class OrderInsertDTO implements Serializable {
    @ApiModelProperty(value = "支付方式", name = "payStyle", required = true)
    private Integer payStyle;

    @ApiModelProperty(value = "运费", name = "freight", required = true)
    private Double freight;

    @ApiModelProperty(value = "配送id", name = "distId", required = true)
    private String distId;

    @ApiModelProperty(value = "订单总金额", name = "total", required = true)
    private Double total;
}